import Layout from "@/views/layout.vue";

export default {
    routes: [
        {
            path: "/",
            component: Layout,
            redirect: "/mapView",
            children: [
                {
                    path: "/mapView",
                    name: 'mapView',
                    meta: {
                        title: "地图浏览",
                        index: 1,
                    },
                    component: () => import("@/views/leader/mapView.vue"),
                },
                // ***********************************日常清运
                {
                    path: "/cleanRoutes",
                    name: 'cleanRoutes',
                    meta: {
                        title: "清运路线",
                        index: 1,
                    },
                    component: () => import("@/views/management/cleanRoutes.vue"),
                },
            ],
        },
    ],
    tabList: [
        {
            name: '地图浏览',
            path: '/mapView'
        },
        {
            name: '清运路线',
            path: '/cleanRoutes'
        }
    ]
}
